package com.ae.content.dto;

import java.io.Serializable;
import java.util.Date;

public class ReturnModel implements Serializable {

    private int code;
    private String msg;
    private Object data;
    private Date responsetime;

    public ReturnModel(int code, Object data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
        this.responsetime = new Date();
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getResponsetime() {return responsetime;}

    public void setResponsetime(Date responsetime) {
        this.responsetime = responsetime;
    }

}
